package com.pkk.cloud.support.admin.dto.req.resources;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 资源修改的请求类
 * @author: peikunkun
 * @create: 2020-04-11 19:38
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OauthResourceUpdateIdReqDto implements Serializable {

  private static final long serialVersionUID = 3867643442396426248L;

  /**
   * 资源菜单表
   */
  private Long id;

  /**
   * 资源名称
   */
  private String resourceName;

  /**
   * 父id
   */
  private Long resourcePid;

  /**
   * 目录路由
   */
  private String resourceCode;

  /**
   * 菜单路径
   */
  private String resourceUrl;


  /**
   * 一级菜单路由重定向路径地址
   */
  private String redirectUri;

  /**
   * 图片路径
   */
  private String classIcon;

  /**
   * 类型 0-分类 1-菜单 2-按钮
   */
  private Integer resourceType;

  /**
   * 菜单级别
   */
  private Integer resourceLevel;

  /**
   * 菜单排序
   */
  private Integer resourceSort;

  /**
   * 资源所属客户端id(penguin_oauth_client的客户端client_id)
   */
  private Long ownClientId;

}
